package com.hz.ruoyistorage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.hz.rouyigonggong.domain.basedomain.BaseDomain;
import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author guo
 * @description 冷库
 * @date 3/4 18:00
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LgColdStorage{
  @TableId(value = "cold_id",type = IdType.AUTO)
  @Excel(name = "仓库id")
  private Integer coldId;
  @Excel(name = "仓库名称")
  private String coldName;
  @Excel(name = "描述")
  private String coldDescript;
  @Excel(name = "地址")
  private String address;
  @Excel(name = "X坐标")
  private Double coordinateX;
  @Excel(name = "Y坐标")
  private Double coordinateY;
  @Excel(name = "占地面积")
  private Double area;
  @Excel(name = "总容积")
  private Double totalVolume;
  @Excel(name = "剩余容积")
  private Double remainingVolume;
  @Excel(name = "负责人ID")
  private Integer managerId;
  @Excel(name = "冷库状态",readConverterExp = "1=启用,2=停用")
  private Integer status;
  @Excel(name = "创建人")
  private String createBy;
  @Excel(name = "修改人")
  private String updateBy;
  @Excel(name = "创建时间")
  private Timestamp createTime;
  @Excel(name = "修改时间")
  private Timestamp updateTime;
  @Excel(name = "删除状态", readConverterExp = "0=正常,1=已删除")
  @TableLogic
  private Integer deleteStatus;


}
